package com.performax.database.oh2game.mapper;

import java.util.List;
import java.util.HashMap;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.performax.database.Vo.*;


@Repository(value="myInfoMapper")
public interface MyInfoMapper {
	
	String 						getProfileImg(@Param("userId")String userId);
	void						regProfile(HashMap<String, Object> param);
	void						updateProfile(HashMap<String, Object> param);
	void						deleteProfile(@Param("userId")String userId);
	List<EventInfoVo>			getPreregInfo(HashMap<String, Object>param);
	int							getPreregInfoCount(@Param("userId")String userId);
	
    List<ReplyInfoVo>			getEventReplyList(HashMap<String, Object> param);
    List<BoardInfoVo>			getBoardList(HashMap<String, Object> param);
    List<BoardReplyInfoVo>		getBoardReplyList(HashMap<String, Object> param);
    
    int							getEventReplyListCnt(@Param("userId")String userId);
    int							getBoardListCnt(@Param("userId")String userId);
    int							getBoardReplyListCnt(@Param("userId")String userId);
    
    //List<String>				getUserPhoneNo(@Param("userId")String userId);
    void						registPhoneNo(@Param("phoneNo")String phoneNo);
    String						getDeviceSeq(@Param("phoneNo")String phoneNo);
    void						updatePhoneNo(@Param("userId")String userId, @Param("phoneNo")String phoneNo);
    
    String 						getUserInfo(HashMap<String, Object> param);
    void						updatePassword(HashMap<String, Object> param);
    void						updateGenre(HashMap<String, Object> param);
    void						dropOut(@Param("userId")String userId);
    void						setDropOutReason(HashMap<String, Object> param);
    
    int							getCommFriendStatus(@Param("userId")String userId);
    List<EventFriendInfoVo>		getEventFriendList(@Param("userId")String userId);
    HashMap<String, Object>		getAppInfo();
    List<NoticeInfoVo>			getNoticeList(HashMap<String, Object> param);
    int							getNoticeListCnt(HashMap<String, Object> param);
    HashMap<String, Object>		getPushSetting(HashMap<String, Object> param);
    void						insertPushSetting(HashMap<String, Object> param);
    void						updatePushSetting(HashMap<String, Object> param);
    void 						logOut(HashMap<String, Object> param);
    
    int							getUserSnsCnt(HashMap<String, Object> param);
    void						updateUserSnsInfo(HashMap<String, Object> param);
    void						insertUserSnsInfo(HashMap<String, Object> param);
    List<UserSnsInfoVo>			getUserSnsInfo(HashMap<String, Object> param);
}
